package com.fanco.learn_datastruct_leetcode.designpattern.facade;

/**
 * @author qiaowang 2022/2/15
 * 描述
 */
public class Popcorn {
    private static Popcorn instance = new Popcorn();

    private Popcorn() {
    }

    public static Popcorn getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("popcorn on");
    }

    public void off() {
        System.out.println("popcorn on");
    }

    public void pop() {
        System.out.println("popcorn pop");
    }
}
